package com.espirit.builder.base;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.espirit.eap.manager.EntityStatus;
import com.espirit.eap.manager.EntityStatusManager;
import com.espirit.eap.manager.ModelBuilderSupport;
@Component
public class EntityStatusBuilder extends ModelBuilderSupport {

	@Resource
	EntityStatusManager orderStatusManager;
	
	@Override
	public boolean init() {
		return super.setClass(EntityStatus.class, "EntityStatus", "实体状态") ;
	}
	
	@Override
	protected void initDefaultData() {
		super.initDefaultData();
		orderStatusManager.initData();
	}
}
